package cn.yj.wx.pay.emums;

/**
 * 支付交易状态
 * @author 永健
 * @since 2021-09-23 14:37
 */
public enum TradeState {
    SUCCESS("支付成功"),
    REFUND("转入退款"),
    NOTPAY("未支付"),
    CLOSED("已关闭"),
    REVOKED("用户支付中（付款码支付）"),
    PAYERROR("支付失败(其他原因，如银行返回失败)");

    private String desc;

    TradeState(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public TradeState setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
